options compress=YES;
libname manasi ''; 

* MERGE CDR ELIGIBILITY INTO MAIN DATASET;
data manasi.kids_ssr_full_nwithsummfy;
	merge 

		manasi.kids_ssr_full_nwithsumm 
			(in=frommainx)

		manasi.cdrdata2_coll2 
			(keep=ssn fy_: rename=(ssn=hun) in=fromfyx);

	by hun;
	if frommainx=1;
	fromfy=fromfyx;
	frommain=frommainx;
run;

proc tabulate data=manasi.kids_ssr_full_nwithsummfy;
	class frommain fromfy;
	table frommain, fromfy;
run;
